package com.yqg.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * place_account 实体类
 *
 * @author zxf
 * @since 2025-08-26
 */
@Getter
@Setter
@TableName("place_account")
@ApiModel(value = "PlaceAccount对象", description = "商户账号")
public class PlaceAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("账户")
    private String name;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("商户信息ID")
    private Long placeId;

    @ApiModelProperty("是否删除")
    private String isDelete;

    /**
     * 单位名称
     */
    @TableField(exist = false)
    private String companyName;

    /**
     * 企业类型
     */
    @TableField(exist = false)
    private String enterpriseType;

    /**
     * 单位地址
     */
    @TableField(exist = false)
    private String companyAddress;

    /**
     * 信用代码或营业执照号
     */
    @TableField(exist = false)
    private String companyLicense;

    /**
     * 法定代表人
     */
    @TableField(exist = false)
    private String legalPerson;
}
